50544e0d5429c3a99f31a7cca982d635f4ce8c45,src/main/java/net/mcthunder/api/Bot.java,Bot,spawn,#Location#,143

Before Change


            return;
        this.entitySpawned = true;
        this.location = l;
        ServerSpawnPlayerPacket packet = (ServerSpawnPlayerPacket) getPacket();
        long chunk = getChunk();
        for (Player p : MCThunder.getPlayers())
            if (p.getWorld().equals(getWorld()) && p.isColumnLoaded(chunk))
                p.sendPacket(packet);
    }

    public Location getLocation() {

After Change


        long chunk = getChunk();
        for (Player p : MCThunder.getPlayers())
            if (p.getWorld().equals(getWorld()) && p.isColumnLoaded(chunk))
                for (Packet packet : getPackets())
                    p.sendPacket(packet);
    }

    public Location getLocation() {